target("cbus")
    set_kind("shared")
	set_languages("c99")
	add_defines("CBUS_ENDPOINT_CLIENT", "CBUS_ENDPOINT_SERVICE")
	if is_plat("windows") then
		add_defines("DLL_EXPORT", "CBUS_TRANSPORT_IPC")
	end

	if is_plat("linux") then
		add_defines("_XOPEN_SOURCE=600","LINUX_ENABLE_TRANSPORT_IPC", "CBUS_TRANSPORT_IPC")
	end
    add_files("./bus/*.c", "./bus/*/*/*.c", "./bus/*/*/*/*/*.c", "./core/*.c", "./core/sysdep/*/*.c")
	